<?php
class SearchController extends AdminController {
    public function resultAction(){
        $keyword = Request::asget(6,'keyword','');
        if($this->_request->isPost() || $keyword == ''){
            return false;
        }else{
            $where = ['title like ?'=>$keyword];
            $model = new ArticleModel;
            $result = $model->where($where)->limit(10)->select();
            $this->_view->$article = $result;
        }
    }













}